package org.project.d.network;

import lombok.Builder;
import lombok.Data;
import lombok.NonNull;
import org.project.d.network.handler.MsgHandler;
import org.project.d.network.msg.CommandCode;
import org.project.d.network.msg.serializer.DeSerialized;

/**
 * @author lin
 * @version V1.0
 * @description
 * @date 2020/6/17 3:34 下午
 */
@Data
@Builder
public class Dispatch {
    @NonNull
    private CommandCode commandCode;
    @NonNull
    private MsgHandler msgHandler;
    private Class msgClass;
    private DeSerialized deSerialized;
}
